<div id="content">
  <div id="content-header">
    <div id="breadcrumb"> <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a> 
    <a href="#" class="current">Danh sách bình luận</a> </div>
  </div>
  {$notice}
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
       <form action="comment_delete_all.php" method="post">
        <div class="widget-box">
          <div class="widget-title">
              <span class="icon" ><i class="icon-trash" style="width:20px;"></i><input class="btn btn-mini" type="submit" value="Xóa" style="border-radius:50px;"/></span>  
            <h5>Giới thiệu [Danh sách]</h5>
          </div>
    
            <table class="table table-bordered data-table">
              <thead>
                <tr>
                <th style="width:40px;">
                    <div class="checker" >
                        <input type="checkbox" class="checker"/>
                    </div>
                    </th>
                  <th>Mã</th>
                  <th>Khách hàng|Mail</th>
                  <th>Nội dung</th>
                 
                  <th>Ngày Tạo</th>
                 
                  <th>Trạng Thái</th>
                  <th>Thao Tác</th>
                  
                </tr>
              </thead>
              <tbody>
                {foreach $list_comment as $comment}
                <tr class="gradeX">
                <td style="text-align:center">
                    <div class="checker">
                        <input type="checkbox" name="data[{$comment.id}]" value="{$comment.id}"/>
                    </div>
                    </td>
               	  <td>{$comment.id}</td>
                  <td>{$comment.user_name}|{$comment.email}</td>
                  <td>{$comment.content}</td>
                  
                  <td>{$comment.day_time}</td>
                 
                  <td> <a href="comment_update_status.php?id={$comment.id}"><i class="icon-{if $comment.status == 1}ok{else}remove{/if}"></i></a></td>
               
                  <td class="center">
                        <a href="comment_delete.php?id={$comment.id}"><i class="icon icon-remove"></i></a>
                  </td>
                </tr>
                {/foreach} 
              </tbody>
            </table>
          </div>
          </form>
        </div>
      </div>
    </div>
  </div>
